package com.boolib.dao;

import com.boolib.pojo.ShopSku;
import com.boolib.pojo.ShopSkuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

@Repository
public interface ShopSkuMapper extends BaseMapper<ShopSku> {
    long countByExample(ShopSkuExample example);

    int deleteByExample(ShopSkuExample example);

    List<ShopSku> selectByExample(ShopSkuExample example);

    int updateByExampleSelective(@Param("record") ShopSku record, @Param("example") ShopSkuExample example);

    int updateByExample(@Param("record") ShopSku record, @Param("example") ShopSkuExample example);


    int insertCanNullList(@Param("list") List<ShopSku> record);

}